package headfirstjava;


class Duck {
    int size;
    public Duck(int duckSize) {
        System.out.println("Quack");

        size = duckSize;

        System.out.println("size is " + size);
    }
}

public class UseADark {
    public static void main(String[] args) {
        new Duck(42);
    }
}
